#newmenu, #newmenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#newmenu {
        width: 960px;
        margin: 60px auto;
        border: 1px solid #222;
        background-color: #111;
        background-image: linear-gradient(#444, #111);
        border-radius: 6px;
        box-shadow: 0 1px 1px #777;
}
#newmenu:before,
#newmenu:after {
        content: "";

        display: table;
}

#newmenu:after {
        clear: both;
}

#newmenu {
        zoom:1;
}
#newmenu li {
        float: left;
        border-right: 1px solid #222;
        box-shadow: 1px 0 0 #444;
        position: relative;
}

#newmenu a {
        float: left;
        padding: 12px 30px;
        color: #999;
        text-transform: uppercase;
        font: bold 12px Arial, Helvetica;
        text-decoration: none;
        text-shadow: 0 1px 0 #000;
}

#newmenu li:hover > a {
        color: #fafafa;
}

*html #newmenu li a:hover { /* IE6 only */
        color: #fafafa;
}
#newmenu ul {
        margin: 20px 0 0 0;
        _margin: 0; /*IE6 only*/
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 38px;
        left: 0;
        z-index: 1;
        background: #444;
        background: linear-gradient(#444, #111);
        box-shadow: 0 -1px 0 rgba(255,255,255,.3);
        border-radius: 3px;
        transition: all .2s ease-in-out;
}

#newmenu li:hover > ul {
        opacity: 1;
        visibility: visible;
        margin: 0;
}

#newmenu ul ul {
        top: 0;
        left: 150px;
        margin: 0 0 0 20px;
        _margin: 0; /*IE6 only*/
        box-shadow: -1px 0 0 rgba(255,255,255,.3);
}

#newmenu ul li {
        float: none;
        display: block;
        border: 0;
        _line-height: 0; /*IE6 only*/
        box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

#newmenu ul li:last-child {
        box-shadow: none;
}

#newmenu ul a {
        padding: 10px;
        width: 130px;
        _height: 10px; /*IE6 only*/
        display: block;
        white-space: nowrap;
        float: none;
        text-transform: none;
}

#newmenu ul a:hover {
        background-color: #0186ba;
        background-image: linear-gradient(#04acec, #0186ba);
}
#newmenu-trigger { /* Hide it initially */
        display: none;
}

@media screen and (max-width: 600px) {

        #newmenu-wrap {
                position: relative;
        }

        #newmenu-wrap * {
                box-sizing: border-box;
        }

        #newmenu-trigger {
                display: block; /* Show it now */
                height: 40px;
                line-height: 40px;
                cursor: pointer;
                padding: 0 0 0 35px;
                border: 1px solid #222;
                color: #fafafa;
                font-weight: bold;
                background-color: #111;
                /* Multiple backgrounds here, the first is base64 encoded */
                background: url(...) no-repeat 10px center, linear-gradient(#444, #111);
                border-radius: 6px;
                box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
        }

        #newmenu {
                margin: 0; padding: 10px;
                position: absolute;
                top: 40px;
                width: 100%;
                z-index: 1;
                display: none;
                box-shadow: none;
        }

        #newmenu:after {
                content: '';
                position: absolute;
                left: 25px;
                top: -8px;
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-bottom: 8px solid #444;
        }       

        #newmenu ul {
                position: static;
                visibility: visible;
                opacity: 1;
                margin: 0;
                background: none;
                box-shadow: none;
        }

        #newmenu ul ul {
                margin: 0 0 0 20px !important;
                box-shadow: none;
        }

        #newmenu li {
                position: static;
                display: block;
                float: none;
                border: 0;
                margin: 5px;
                box-shadow: none;
        }

        #newmenu ul li{
                margin-left: 20px;
                box-shadow: none;
        }

        #newmenu a{
                display: block;
                float: none;
                padding: 0;
                color: #999;
        }

        #newmenu a:hover{
                color: #fafafa;
        }       

        #newmenu ul a{
                padding: 0;
                width: auto;
        }

        #newmenu ul a:hover{
                background: none;
        }

        #newmenu ul li:first-child a:after,
        #newmenu ul ul li:first-child a:after {
                border: 0;
        }               

}

@media screen and (min-width: 600px) {
        #newmenu {
                display: block !important;
        }
}       

/* iPad */
.no-transition {
        transition: none;
        opacity: 1;
        visibility: visible;
        display: none;
}

#newmenu li:hover > .no-transition {
        display: block;
}